[INFO] cloning repository https://github.com/achuvyas-kv/rust-learning-sessions
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/achuvyas-kv/rust-learning-sessions" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fachuvyas-kv%2Frust-learning-sessions", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fachuvyas-kv%2Frust-learning-sessions'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 382edcdf29ffe089c21a2b449592237034873e67
[INFO] fixing achuvyas-kv/rust-learning-sessions against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fachuvyas-kv%2Frust-learning-sessions" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/achuvyas-kv/rust-learning-sessions
[INFO] finished tweaking git repo https://github.com/achuvyas-kv/rust-learning-sessions
[INFO] tweaked toml for git repo https://github.com/achuvyas-kv/rust-learning-sessions written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/achuvyas-kv/rust-learning-sessions on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/achuvyas-kv/rust-learning-sessions already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 4430f0786d76404159423cc80eda9fef82b8434a687bb85a2bedf233df9751ac
[INFO] running `Command { std: "docker" "start" "4430f0786d76404159423cc80eda9fef82b8434a687bb85a2bedf233df9751ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4430f0786d76404159423cc80eda9fef82b8434a687bb85a2bedf233df9751ac" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4430f0786d76404159423cc80eda9fef82b8434a687bb85a2bedf233df9751ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4430f0786d76404159423cc80eda9fef82b8434a687bb85a2bedf233df9751ac" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking rust-learning-sessions v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0599]: no associated function or constant named `new` found for struct `ex_05::Calculator` in the current scope
[INFO] [stdout]   --> src/ex_05.rs:40:32
[INFO] [stdout]    |
[INFO] [stdout] 17 | struct Calculator {
[INFO] [stdout]    | ----------------- associated function or constant `new` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 40 |         let calc = Calculator::new();
[INFO] [stdout]    |                                ^^^ associated function or constant not found in `ex_05::Calculator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `new` found for struct `ex_05::Calculator` in the current scope
[INFO] [stdout]   --> src/ex_05.rs:47:36
[INFO] [stdout]    |
[INFO] [stdout] 17 | struct Calculator {
[INFO] [stdout]    | ----------------- associated function or constant `new` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 47 |         let mut calc = Calculator::new();
[INFO] [stdout]    |                                    ^^^ associated function or constant not found in `ex_05::Calculator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `new` found for struct `ex_05::Calculator` in the current scope
[INFO] [stdout]   --> src/ex_05.rs:57:36
[INFO] [stdout]    |
[INFO] [stdout] 17 | struct Calculator {
[INFO] [stdout]    | ----------------- associated function or constant `new` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 57 |         let mut calc = Calculator::new();
[INFO] [stdout]    |                                    ^^^ associated function or constant not found in `ex_05::Calculator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `new` found for struct `ex_05::Calculator` in the current scope
[INFO] [stdout]   --> src/ex_05.rs:66:36
[INFO] [stdout]    |
[INFO] [stdout] 17 | struct Calculator {
[INFO] [stdout]    | ----------------- associated function or constant `new` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 66 |         let mut calc = Calculator::new();
[INFO] [stdout]    |                                    ^^^ associated function or constant not found in `ex_05::Calculator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `new` found for struct `ex_05::Calculator` in the current scope
[INFO] [stdout]   --> src/ex_05.rs:75:36
[INFO] [stdout]    |
[INFO] [stdout] 17 | struct Calculator {
[INFO] [stdout]    | ----------------- associated function or constant `new` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 75 |         let mut calc = Calculator::new();
[INFO] [stdout]    |                                    ^^^ associated function or constant not found in `ex_05::Calculator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `new` found for struct `ex_05::Calculator` in the current scope
[INFO] [stdout]   --> src/ex_05.rs:85:36
[INFO] [stdout]    |
[INFO] [stdout] 17 | struct Calculator {
[INFO] [stdout]    | ----------------- associated function or constant `new` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 85 |         let mut calc = Calculator::new();
[INFO] [stdout]    |                                    ^^^ associated function or constant not found in `ex_05::Calculator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `numbers`
[INFO] [stdout]   --> src/memory.rs:18:22
[INFO] [stdout]    |
[INFO] [stdout]  3 |     let mut numbers = vec![0, 10, 20, 30, 40]; // Owned by main
[INFO] [stdout]    |         ----------- move occurs because `numbers` has type `Vec<i32>`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 15 |     let moved_numbers = numbers; // numbers is moved, can't use it anymore
[INFO] [stdout]    |                         ------- value moved here
[INFO] [stdout] ...
[INFO] [stdout] 18 |     println!("{:?}", numbers);
[INFO] [stdout]    |                      ^^^^^^^ value borrowed here after move
[INFO] [stdout]    |
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let moved_numbers = numbers.clone(); // numbers is moved, can't use it anymore
[INFO] [stdout]    |                                ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0382, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `numbers`
[INFO] [stdout]   --> src/memory.rs:18:22
[INFO] [stdout]    |
[INFO] [stdout]  3 |     let mut numbers = vec![0, 10, 20, 30, 40]; // Owned by main
[INFO] [stdout]    |         ----------- move occurs because `numbers` has type `Vec<i32>`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 15 |     let moved_numbers = numbers; // numbers is moved, can't use it anymore
[INFO] [stdout]    |                         ------- value moved here
[INFO] [stdout] ...
[INFO] [stdout] 18 |     println!("{:?}", numbers);
[INFO] [stdout]    |                      ^^^^^^^ value borrowed here after move
[INFO] [stdout]    |
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let moved_numbers = numbers.clone(); // numbers is moved, can't use it anymore
[INFO] [stdout]    |                                ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-learning-sessions` (bin "rust-learning-sessions" test) due to 7 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-learning-sessions` (bin "rust-learning-sessions") due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "4430f0786d76404159423cc80eda9fef82b8434a687bb85a2bedf233df9751ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4430f0786d76404159423cc80eda9fef82b8434a687bb85a2bedf233df9751ac", kill_on_drop: false }`
[INFO] [stdout] 4430f0786d76404159423cc80eda9fef82b8434a687bb85a2bedf233df9751ac
